package com.jhhc.EngineeringSafety.BaseInfo.service.impl;

import com.jhhc.EngineeringSafety.BaseInfo.entity.BDMS_ES_FORECASTOBJ_B;
import com.jhhc.EngineeringSafety.BaseInfo.dao.BDMS_ES_FORECASTOBJ_BDao;
import com.jhhc.EngineeringSafety.BaseInfo.service.BDMS_ES_FORECASTOBJ_BService;
import org.springframework.stereotype.Service;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.PageRequest;

import javax.annotation.Resource;
import java.util.List;

/**
 * (BdmsEsForecastobjB)表服务实现类
 *
 * @author makejava
 * @since 2023-09-05 11:14:49
 */
@Service
public class BDMS_ES_FORECASTOBJ_BServiceImpl implements BDMS_ES_FORECASTOBJ_BService {
    @Resource
    private BDMS_ES_FORECASTOBJ_BDao BDMSESFORECASTOBJBDao;


    @Override
    public List<BDMS_ES_FORECASTOBJ_B> queryAllByPId(Integer pid) {
        return BDMSESFORECASTOBJBDao.queryAllByPId(pid);
    }

    @Override
    public List<BDMS_ES_FORECASTOBJ_B> Qengineeringinfo(Integer projectId) {
      return   BDMSESFORECASTOBJBDao.Qengineeringinfo(projectId);
    }

    @Override
    public List<BDMS_ES_FORECASTOBJ_B> QmonitoringSubject(Integer projectId, String engid) {
        return BDMSESFORECASTOBJBDao.QmonitoringSubject(projectId, engid);
    }

    @Override
    public List<BDMS_ES_FORECASTOBJ_B> QmonitoringElement(Integer projectId, String engid, String objforecastid) {
        return BDMSESFORECASTOBJBDao.QmonitoringElement(projectId, engid, objforecastid);
    }

    @Override
    public List<BDMS_ES_FORECASTOBJ_B> QmonitoringPonit(Integer projectId, String engid, String objforecastid, String monitortypeid) {
        return BDMSESFORECASTOBJBDao.QmonitoringPonit(projectId, engid, objforecastid, monitortypeid);
    }

    @Override
    public List<BDMS_ES_FORECASTOBJ_B> QmonitoringPonitQJ(Integer projectId, String engid, String objforecastid, String monitortypeid, String monitorid) {
        return BDMSESFORECASTOBJBDao.QmonitoringPonitQJ(projectId, engid, objforecastid, monitortypeid,monitorid);
    }

    @Override
    public List<BDMS_ES_FORECASTOBJ_B> queryBYcodes2(Integer pid,String monitortypeid, List<String> datacodes) {
        return BDMSESFORECASTOBJBDao.queryBYcodes2(pid,monitortypeid, datacodes);
    }

    @Override
    public List<BDMS_ES_FORECASTOBJ_B> queryBYcodes(List<String> engids, String monitortypeid, List<String> datacodes) {
        return BDMSESFORECASTOBJBDao.queryBYcodes(engids, monitortypeid, datacodes);
    }

    @Override
    public List<BDMS_ES_FORECASTOBJ_B> queryAllByForeCastId(Integer objforecastid, Integer monitortypeid) {
        return BDMSESFORECASTOBJBDao.queryAllByForeCastId(objforecastid, monitortypeid);
    }
    @Override
    public BDMS_ES_FORECASTOBJ_B queryAllByForeCastIdinSTCD(Integer monitortypeid, String datacode) {
        return BDMSESFORECASTOBJBDao.queryAllByForeCastIdinSTCD(monitortypeid, datacode);
    }

    @Override
    public int update(String value, String monId) {
        return BDMSESFORECASTOBJBDao.update(value,monId);
    }
}
